﻿<!DOCTYPE html>
<html><head>
  <title>导入光栅图像</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=8">
  <meta name="generator" content="Help &amp; Manual">
  <meta name="keywords" content="Bitmap to Outline,Convert,Image to Outline,Import Image,Raster Image">
  <meta name="description" content="Import Image canbe selected from the Tools menu when you have activated a Glyph Edit window or it canbe selected from the context menu after right-clicking in the window.">
  <link type="text/css" href="default.css" rel="stylesheet">
  <link type="text/css" href="custom.css" rel="stylesheet">
  <style type="text/css" media="screen">
      html,body { margin:0;
        padding:0;
       background: #ffffff;
      }
      div#printheader { display: none; }
      #idheader {
        width:100%;
        height:auto;
        padding: 0;
        margin: 0;
        position: fixed;
        top: 0;
        z-index: 2;
      }
      /* The "min-height" for "#idheader table" ensures that the (blue) header of the topic
         has at least the same height as the header of the navigation panel left of it */
      #idheader table {background: #2C5D88; min-height: 59px }
      #idheader h1 span { color: #FFF }
      #idnav {
        text-align: right;
        width: 126px;
        vertical-align: middle;
      }
      #idnav a { text-decoration: none }
      #idnav span {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin-left: 4px;
       background:url('hm_webhelp_buttons_grey.png') top left no-repeat;
      }
      #idnav a span {
       background-image:url('hm_webhelp_buttons_white.png');
      }
      #idnav a span:hover {
       background-image:url('hm_webhelp_buttons_orange.png');
      }
      #idnav span.hmbtnprev {background-position: 0 -32px }
      #idnav span.hmbtnnext {background-position: -24px -32px }
      #idnav span.hmbtntop  {background-position: -48px -32px }
      #idnav span.hmbtntoggle  { width: 20px;background-position: -70px -32px }
      #idnav span.hmbtnprint  {background-position: -88px -32px }
      #callout-table, #overview-table {display:block; position:relative; top:0; left:0;}
      #callout-icon {display:block; position:absolute; top:-11px; left:-11px;}
      #callout-icon-flag {display:block; position:absolute; top:-11px; left:-8px;}
      #callout-table a {text-decoration: none; color:blue;}
      #callout-table a:visited {text-decoration: none; color:blue;}
      #overview-table a {text-decoration: none; color:black;}
      #overview-table a:visited {text-decoration: none; color:black;}
      #callout-table a:hover, #overview-table a:hover {text-decoration: underline;}
      p.help-url { margin: 20px 0 5px 0; text-align: center; font-size: 80%; text-decoration: none }
      #switchtoggles { text-align: right; padding: 0 2px 0 0; font-size: 90%; }
      .sync-toc { color: #FFF; font-size: 8pt; font-weight:bold; display: none; }
      .sync-toc a { color: #FFF; text-decoration: none; font-weight:bold;}
      .sync-toc a:visited { color: #FFF; }
      .sync-toc a:hover { text-decoration: underline; }
      a.hmanchor { display: inline-block; margin-top: -4em; padding-top: 4em }	
  </style>
  <style type="text/css" media="print">
      div#idheader, img.dropdown-toggle-icon, p.help-url { display:none }
  </style>
  <script type="text/javascript" src="jquery.js"></script>
  <script type="text/javascript" src="helpman_settings.js"></script>
  <script type="text/javascript" src="helpman_topicinit.js"></script>
</head>
<body>
<div id="printheader"><h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">导入光栅图像</span></h1>
</div>
<div id="idheader" style="position: relative;">
<div id="idheaderbg">
<table style="width:100%;border:none;margin:0px;" cellspacing="0" cellpadding="0">
 <tbody><tr>
   <td class="topichead" style="text-align:left; vertical-align:bottom">
     <p class="crumbs"><b>导航：</b>&nbsp;编辑字体 &gt; 工具 &gt; 导入图像 &gt;</p>
     <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">导入光栅图像</span></h1>
   </td>
   <td class="topichead" id="idnav">
     <a href="autokern-kern.html" title="上一主题"><span class="hmbtnprev"></span></a>
     <a href="welcometothefontcreator.html" title="返回首章"><span class="hmbtntop"></span></a>
     <a href="importvectorimage.html" title="下一主题"><span class="hmbtnnext"></span></a>
   </td>
 </tr>
</tbody></table>
</div>
</div>
<div id="idcontent" style="margin-top: 0px;"><div id="innerdiv">
<!--ZOOMRESTART-->
<p class="p_Normal">当打开<span style="font-weight:bold;">字形编辑</span>窗口后，可以从<span style="font-weight:bold;">工具</span>菜单中选择<span style="font-weight:bold;">导入图像</span>；也可以在窗口中右击，从上下文菜单中选择<b>导入图像</b>。</p>
<p class="p_Normal"><img style="margin:0;width:5.7083in;height:4.8021in;border:none" src="fontcreator_049_import_image.png"></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">当点击<b>导入图像</b>菜单后，会打开一个<b>打开</b>对话框，在其中可以打开图像文件（推荐的图像尺寸在 250x250 和 500x500 像素之间）。选择打开图像文件后，会打开<b>导入光栅图像</b>对话框，如上图所示，图像将显示在左侧，右侧将有一个用于转换的位图。点击<span style="font-weight:bold;">从文件加载</span>按钮，可以更换图像文件。在开始转换之前，您可以对源图像应用一些过滤器和其他操作。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">如果源图像很小，会弹出警告对话框，建议您调整图像大小(Resize)。此时，可以选择一个百分比进行放大，最大到400%；或者如果有，也可以使用一个更大尺寸的图像。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span style="font-weight:bold;">阈值</span>(Threshold)级别用于将彩色图像转换为黑白图像。阈值级别定义一个亮度值，亮度值高于该级别的所有颜色都将变为黑色。阈值级别为 1 时，除白色外的所有颜色都将变为黑色。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">勾选<span style="font-weight:bold;">负片</span>(Negative)图像字段，进行图像反转。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span style="font-weight:bold;">扩张</span>(Dilation、Dilate)会导致对象尺寸增粗，<b>侵蚀</b>(Erosion、Erode)会导致对象减细。其增粗或减细的幅度取决于右侧选择框所指定的数值。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">使用<span style="font-weight:bold;">平滑过滤器</span>来使图像平滑。这通常会减少所生成的噪点数量。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">当<span style="font-weight:bold;">导入模式</span>(Import Mode)设置为<b>轨迹</b>(Trace 
)时，图像将转换为曲线(curve)，这是推荐设置。如果您不想要曲线（尤其适用于条形码字体和像素字体），请将导入模式设置为<b>像素</b>(Pixels)。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">勾选<b>设为默认值</b>字段，将当前设置保存为默认，每次新导入时都使用这些设置。从剪贴板粘贴图像时也会使用这些设置。勾选后，点击<b>取消</b>按钮也将保留这些默认设置。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">使用<span style="font-weight:bold;">字形</span>(Glyph)选项卡上的设置，来定位和调整所生成的轮廓线(contour)。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">当您点击<span style="font-weight:bold;">生成</span>(Generate)按钮时，将开始进行转换。</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_NoteorTip"><span class="f_NoteorTip">提示：也可以从剪贴板中将一个图像粘贴到或从资源管理器中将一个或几个图像拖放到<b>字体概览</b>和<b>字形编辑</b>窗口中。</span></p>
<p class="p_NoteorTip"><span class="f_NoteorTip">注意：不能将图像导入到组合字形中。</span></p>
<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript">
  $(document).ready(function(){
    $(window).bind('resize', function() {
      var y = $('#idheader').height();
      $('#idcontent').css('margin-top', y);
      var par = window.parent;
      if ($( par ).width()<= $( window ).width()+20) {
        $('#idheader').css('position', 'relative');
        $('#idcontent').css('margin-top', 0);
        $('#idbacktotop').css('display', 'block');
        $('.hmanchor').css('margin-top', -20);
	$('.hmanchor').css('padding-top', 20);
      }
      else {
        $('#idheader').css('position', 'fixed');
        $('#idcontent').css('margin-top', $('#idheader').height());
        $('#idbacktotop').css('display', 'none');
        $('.hmanchor').css('margin-top', -y-20);
	$('.hmanchor').css('padding-top', y+20);
      }
    });
    $(window).resize(); //trigger event for initially small displays
  });
</script>
</body></html>